﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Project.Core.Api.Controllers.System.IPermission.Dto
{
    /// <summary>
    /// Permission
    /// </summary>
    public class PermissionDto
    {
        /// <summary>
        /// id
        /// </summary>
        public int MenuId { get; set; }
        /// <summary>
        /// name
        /// </summary>
        public string MenuName { get; set; }
        /// <summary>
        /// path
        /// </summary>
        public string MenuPath { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string MenuIcon { get; set; }

        /// <summary>
        /// 操作
        /// </summary>
        public List<string> Operation { get; set; }
        /// <summary>
        /// 子项
        /// </summary>
        public List<PermissionDto> Children { get; set; }
    }
}
